package com.xtaller.easy.admin.specification;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
 * Created by Taller on 2018/4/26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value ="配置菜单权限按钮")
public class MenuAuthOpt {
    @ApiModelProperty(value = "菜单id")
    private String menuId;
    @ApiModelProperty(value = "按钮id")
    private String buttonId;
    @ApiModelProperty(value = "API执行函数")
    private String api;
    @ApiModelProperty(value = "排序")
    private Integer sort;

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getButtonId() {
        return buttonId;
    }

    public void setButtonId(String buttonId) {
        this.buttonId = buttonId;
    }

    public String getApi() {
        return api;
    }

    public void setApi(String api) {
        this.api = api;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
